package Counter;
public class Movie {
    ////实体类保存对象
    private  int  id;
    private String name;
    private  double price;
    private double scorce;
    private  String Director;
    private  String actor;
    private  String other;
    public Movie() {
    }
    public Movie(int id, String name, double price, double scorce, String director, String actor,String other) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.scorce = scorce;
        Director = director;
        this.actor = actor;
        this.other=other;
    }
    public void setid(int id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public void setScorce(double scorce) {
        this.scorce = scorce;
    }

    public void setDirector(String director) {
        Director = director;
    }

    public void setActor(String actor) {
        this.actor = actor;
    }

    public int getid() {
        return id;
    }

    public String getName() {
        return name;
    }

    public double getPrice() {
        return price;
    }

    public double getScorce() {
        return scorce;
    }

    public String getDirector() {
        return Director;
    }

    public String getActor() {
        return actor;
    }

    public void setOther(String other) {
        this.other = other;
    }

    public String getOther() {
        return other;
    }
}

